import request from '@/utils/request'

const prefix = "/api/webOrder"

//订单列表
export function orderList(params) {
	return request({
		url: `${prefix}/list`,
		method: 'get',
		params: params
	})
}
/**
 * 订单详情
 * @param id
 * @returns {*}
 */
export function orderInfo(orderNo) {
    return request({
        url: `${prefix}/orderInfo/${orderNo}`,
        method: 'get',
    })
}